package com.itmk.web.order.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itmk.web.order.entity.Order;
import com.itmk.web.order.entity.OrderListParm;
import com.itmk.web.order.entity.OrderVo;

import java.util.List;
import java.util.Map;

public interface OrderService  extends IService<Order> {
//    生成订单的同时下架对应商品
    void createOrder(Order order);

    List<Map<String, Object>> getOrderCountLast7Days();

    IPage<OrderVo> getList(OrderListParm parm);
}
